Ruby Hex

hex also implemented in Python

The goal in hex is simple. Red moves first, and each player alternates placing stones anywhere on the board. Red tries to form an unbroken chain of stones between top and bottom, blue between left and right. The first player to achieve an unbroken chain wins. Ties are mathematically impossible. While the rules are simple, the strategy is complex.

I have implemented an internet two-player hex game in the Ruby programming language. It uses Jabber, an open XML-based messaging system.

Several steps are needed to set up this program: Copyright (c) 2002 Eric Rollins

Hex comes with Absolutely No Warranty. This is free software, and you are welcome to redistribute it under certain conditions (for details see:GNU General Public License, http://www.gnu.org/copyleft/gpl.html)